{% for footer-i in (1..2) %}
{% unless page.legacy and footer-i == 1 %}
<div id="footerwrap" class="tuna-foot-{{ footer-i }}"{% if page.legacy %} style="visibility: visible;"{% endif %}>
  <div class="container">
    <div class="row">
      <div class="col-lg-4 col-md-4{% if page.legacy %} col-xs-4{% endif %}">
        <p class="thuhidden">本站{% if site.operator %}由{{ site.operator }}支持创办，{% endif %}由清华大学 TUNA 协会运行维护。</p>
        <p class="thuhidden">清华大学 TUNA 协会，全名清华大学学生网络与开源软件协会，是由清华大学热爱网络技术和开源软件的极客组成的学生技术社团。</p>
        <p>本站相关源码可在 <a href="https://github.com/tuna/tunasync"><em>这里(镜像管理器)</em></a> 和 <a href="https://github.com/tuna/mirror-web"><em>这里(镜像站网页)</em></a> 获取。</p>
        <p class="thuhidden">根据相关法律法规，本站不对欧盟用户提供服务。</p>
        {% if site.footnote %}
        <p class="thuhidden">{{ site.footnote }}</p>
        {% endif %}
      </div>
      <div class="col-lg-4 col-md-4{% if page.legacy %} col-xs-4{% endif %}">
        <h4>Contact Us</h4>
        <div class="thuhidden">
          <ul class="social">
            <li>
            <a href="https://groups.google.com/forum/#!forum/tuna-general"><i class="fa fa-envelope"></i> Mailing List</a>
            </li>
            <li>
            IRC: <a href="https://webchat.freenode.net/?channels=%23tuna">#tuna at freenode</a>
            </li>
            <li>
            <a href="https://github.com/tuna/"><i class="fa fa-github"></i> GitHub </a>
            </li>
            <li>
            <a href="http://weibo.com/u/5402274706"><i class="fa fa-weibo"></i> 新浪微博</a>
            </li>
          </ul>
        </div>
        {% if site.sponsor %}
        <h4>Sponsor</h4>
        {% if site.sponsor == "megvii" %}
        <img class="img-responsive thuhidden" src="/static/img/megvii.png" srcset="/static/img/megvii.png 1x, /static/img/megvii@2x.png 2x, /static/img/megvii@3x.png 3x, /static/img/megvii@4x.png 4x" />
        <p class="thuhidden">本存储服务器由<a href="https://megvii.com/">旷视科技有限公司</a>（Megvii Technology Inc.）赞助。TUNA 感谢旷视对开源软件和社区的贡献。</p>
        {% endif %}
        {% endif%}
      </div>
      <div class="col-lg-4 col-md-4{% if page.legacy %} col-xs-4{% endif %}">
        <img class="img-responsive thuhidden center-block" style="margin-top:5%" src="/static/img/logo-white.png" srcset="/static/img/logo-white.png 1x, /static/img/logo-white@2x.png 2x, /static/img/logo-white@3x.png 3x, /static/img/logo-white@4x.png 4x" />
      </div>
    </div><!--/row -->
  </div><!--/container -->
</div><!--/footerwrap -->
{% endunless %}
{% endfor %}

<script>
WebFont.load({
  custom: {
    families: ['Lato']
  }
});
var lei3Po8h = ["support", ["tuna", "tsinghua", "edu", "cn"].join(".")].join("@");
$('a.eib1gieB')
  .text(lei3Po8h)
  .attr('href', ["ma","lto:"].join("i") + lei3Po8h);
</script>
